package com.ruoyi.whzj.domain;

import java.math.BigDecimal;
import java.util.Date;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 用户对象 wh_user
 * 
 * @author ruoyi
 * @date 2020-10-15
 */
public class WhUser extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 用户id */
    private String id;

    private String dateStr;

    /** 昵称 */
    @Excel(name = "昵称")
    private String nickname;

    /** 头像 */
    @Excel(name = "头像")
    private String headImg;

    /** 快手id */
    @Excel(name = "快手id")
    private String kuaiId;

    /** 快手号 */
    @Excel(name = "快手号")
    private String kuaiNumber;

    /** 余额 */
    @Excel(name = "余额")
    private BigDecimal balance;

    /** 积分 */
    @Excel(name = "积分")
    private Integer integral;

    /** 经验 */
    @Excel(name = "经验")
    private Integer experience;

    /** 是否正常 1正常 0封禁 */
    @Excel(name = "是否正常 1正常 0封禁")
    private String isDisable;

    /** 等级 */
    @Excel(name = "等级")
    private String level;

    /** 用户组 普通用户 代理用户 */
    @Excel(name = "用户组 普通用户 代理用户")
    private String userGroup;

    /** 奖励总金额 */
    @Excel(name = "奖励总金额")
    private BigDecimal money;

    /** 提成比例 */
    @Excel(name = "提成比例")
    private String commission;

    private String levelName;

    private String disableName;

    //用户的邀请码
    private String invitationCode;

    //父级邀请码
    private String pCode;

    //父级的父级邀请码
    private String pPCode;

    private Integer loginnum;

    private String checkFlag;

    //二级提成比例
    private String secondDistirrate;

    private String collectionCodeWx;

    private String collectionCodeZfb;

    private Date nextReceiveTime;

    private String phone;

    private Integer toptimes;

    private String isComplaint;

    private BigDecimal userWithDraw;
    //代理用户级别
    private String proxyLevel;

    public void setId(String id) 
    {
        this.id = id;
    }

    public String getId() 
    {
        return id;
    }
    public void setNickname(String nickname) 
    {
        this.nickname = nickname;
    }

    public String getNickname() 
    {
        return nickname;
    }
    public void setHeadImg(String headImg) 
    {
        this.headImg = headImg;
    }

    public String getHeadImg() 
    {
        return headImg;
    }
    public void setKuaiId(String kuaiId) 
    {
        this.kuaiId = kuaiId;
    }

    public String getKuaiId() 
    {
        return kuaiId;
    }
    public void setKuaiNumber(String kuaiNumber) 
    {
        this.kuaiNumber = kuaiNumber;
    }

    public String getKuaiNumber() 
    {
        return kuaiNumber;
    }
    public void setBalance(BigDecimal balance) 
    {
        this.balance = balance;
    }

    public BigDecimal getBalance() 
    {
        return balance;
    }
    public void setIntegral(Integer integral) 
    {
        this.integral = integral;
    }

    public Integer getIntegral() 
    {
        return integral;
    }
    public void setIsDisable(String isDisable) 
    {
        this.isDisable = isDisable;
    }

    public String getIsDisable() 
    {
        return isDisable;
    }
    public void setLevel(String level) 
    {
        this.level = level;
    }

    public String getLevel() 
    {
        return level;
    }
    public void setUserGroup(String userGroup) 
    {
        this.userGroup = userGroup;
    }

    public String getUserGroup() 
    {
        return userGroup;
    }
    public void setMoney(BigDecimal money) 
    {
        this.money = money;
    }

    public BigDecimal getMoney() 
    {
        return money;
    }
    public void setCommission(String commission) 
    {
        this.commission = commission;
    }

    public String getCommission() 
    {
        return commission;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("createTime", getCreateTime())
            .append("nickname", getNickname())
            .append("headImg", getHeadImg())
            .append("kuaiId", getKuaiId())
            .append("kuaiNumber", getKuaiNumber())
            .append("balance", getBalance())
            .append("integral", getIntegral())
            .append("isDisable", getIsDisable())
            .append("level", getLevel())
            .append("userGroup", getUserGroup())
            .append("money", getMoney())
            .append("commission", getCommission())
            .toString();
    }

    public String getLevelName() {
        return levelName;
    }

    public void setLevelName(String levelName) {
        this.levelName = levelName;
    }

    public String getDisableName() {
        return disableName;
    }

    public void setDisableName(String disableName) {
        this.disableName = disableName;
    }

    public Integer getExperience() {
        return experience;
    }

    public void setExperience(Integer experience) {
        this.experience = experience;
    }

    public String getInvitationCode() {
        return invitationCode;
    }

    public void setInvitationCode(String invitationCode) {
        this.invitationCode = invitationCode;
    }

    public String getpCode() {
        return pCode;
    }

    public void setpCode(String pCode) {
        this.pCode = pCode;
    }

    public String getDateStr() {
        return dateStr;
    }

    public void setDateStr(String dateStr) {
        this.dateStr = dateStr;
    }

    public String getSecondDistirrate() {
        return secondDistirrate;
    }

    public void setSecondDistirrate(String secondDistirrate) {
        this.secondDistirrate = secondDistirrate;
    }

    public String getpPCode() {
        return pPCode;
    }

    public void setpPCode(String pPCode) {
        this.pPCode = pPCode;
    }

    public String getCollectionCodeWx() {
        return collectionCodeWx;
    }

    public void setCollectionCodeWx(String collectionCodeWx) {
        this.collectionCodeWx = collectionCodeWx;
    }

    public String getCollectionCodeZfb() {
        return collectionCodeZfb;
    }

    public void setCollectionCodeZfb(String collectionCodeZfb) {
        this.collectionCodeZfb = collectionCodeZfb;
    }

    public Date getNextReceiveTime() {
        return nextReceiveTime;
    }

    public void setNextReceiveTime(Date nextReceiveTime) {
        this.nextReceiveTime = nextReceiveTime;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Integer getToptimes() {
        return toptimes;
    }

    public void setToptimes(Integer toptimes) {
        this.toptimes = toptimes;
    }

    public Integer getLoginnum() {
        return loginnum;
    }

    public void setLoginnum(Integer loginnum) {
        this.loginnum = loginnum;
    }

    public String getCheckFlag() {
        return checkFlag;
    }

    public void setCheckFlag(String checkFlag) {
        this.checkFlag = checkFlag;
    }

    public String getIsComplaint() {
        return isComplaint;
    }

    public void setIsComplaint(String isComplaint) {
        this.isComplaint = isComplaint;
    }


    public BigDecimal getUserWithDraw() {
        return userWithDraw;
    }

    public void setUserWithDraw(BigDecimal userWithDraw) {
        this.userWithDraw = userWithDraw;
    }

    public String getProxyLevel() {
        return proxyLevel;
    }

    public void setProxyLevel(String proxyLevel) {
        this.proxyLevel = proxyLevel;
    }
}
